﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Finance/FinanceMaster.master" AutoEventWireup="true"
	CodeBehind="Config.aspx.cs" Inherits="WebApplication.Finance.Config" Theme="BaselineTheme" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<table border="0" align="center">
		<tr>
			<td valign="top">
				<asp:Accordion ID="Accordion1" runat="server" CssClass="accordion" HeaderCssClass="accordionHeader"
					HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent"
					AutoSize="None" Width="600px" Height="400px">
					<Panes>
						<asp:AccordionPane runat="server" ID="paneCompProfile">
							<Header>
								Company Profile</Header>
							<Content>
								<table class="DataTable">
									<tr>
										<td class="DataTableLabel">Company Name:</td>
										<td class="DataTableValue"><asp:TextBox ID="txtCompanyName" runat="server"></asp:TextBox></td>
									</tr>
									<tr>
										<td class="DataTableLabel">
											T/S Contact:
										</td>
										<td class="DataTableValue">
											<asp:TextBox ID="txtTSContact" runat="server"></asp:TextBox>
										</td>
									</tr>
									<tr>
										<td class="DataTableLabel">
											T/S Telephone:
										</td>
										<td class="DataTableValue">
											<asp:TextBox ID="txtTSTelephone" runat="server"></asp:TextBox>
										</td>
									</tr>
									<tr>
										<td class="DataTableLabel">Default Country:</td>
										<td class="DataTableValue"><asp:DropDownList ID="cboDefaultCountry" runat="server"></asp:DropDownList></td>
									</tr>
								</table>
							</Content>
						</asp:AccordionPane>
						<asp:AccordionPane runat="server" ID="paneColourCoding">
							<Header>Colour Coding</Header>
							<Content>EMPTY</Content>
						</asp:AccordionPane>
						<asp:AccordionPane runat="server" ID="paneDataStorage">
							<Header>Data Storage</Header>
							<Content>
								<table class="DataTable">
									<tr>
										<td class="DataTableLabel">Max. Upload Size:</td>
										<td class="DataTableValue"><asp:TextBox ID="txtMaxUploadMb" runat="server"></asp:TextBox>Mb</td>
									</tr>
									<tr>
										<td class="DataTableLabel">
											Client Storage Quota:
										</td>
										<td class="DataTableValue">
											<asp:TextBox ID="txtClientStorageQuote" runat="server"></asp:TextBox>
											Mb
										</td>
									</tr>
								</table>
							</Content>
						</asp:AccordionPane>
						<asp:AccordionPane runat="server" ID="AccordionPane1">
							<Header>Development Messages</Header>
							<Content>
								<table>
									<tr>
										<td><asp:GridView ID="gridDevMessages" SkinId="DevMessagesGrid" runat="server" AutoGenerateColumns="False" BorderStyle="None" ShowFooter="False" > 
											<RowStyle BackColor="#ffffff" ForeColor="#333333" Font-Size="0.6em" Font-Names="Verdana" />
											<HeaderStyle BackColor="#304884" Height="30px" Font-Bold="True" Font-Size="0.6em" Font-Names="Verdana" ForeColor="White" Font-Underline="false" />
											<Columns>
												<asp:BoundField DataField="DevNotesId" DataFormatString="{0}" ReadOnly="True" Visible="False" />
												<asp:BoundField DataField="Date" DataFormatString="{0:d}" HeaderText="Date">
												</asp:BoundField>
												<asp:BoundField DataField="Page" DataFormatString="{0}" HeaderText="Page">
												</asp:BoundField>
												<asp:BoundField DataField="Description" DataFormatString="{0}" HeaderText="Description">
												</asp:BoundField>
												<asp:BoundField DataField="PriortyAsText" DataFormatString="{0}" HeaderText="Priorty">
												</asp:BoundField>
												<asp:BoundField DataField="CategoryAsText" DataFormatString="{0}" HeaderText="Category">
												</asp:BoundField>
												<asp:BoundField DataField="UserAsText" DataFormatString="{0}" HeaderText="User">
												</asp:BoundField>
											</Columns>
											<HeaderStyle Font-Bold="False" CssClass="WebPartGridHeader" />
											<RowStyle Font-Bold="True" />
										</asp:GridView></td>
									</tr>
									<tr>
										<td><asp:Button ID="butResetDevMessages" runat="server" Text="Reset" /></td>
									</tr>
								</table>
							</Content>
						</asp:AccordionPane>
						<asp:AccordionPane runat="server" ID="paneErrorLog">
							<Header>Error Log</Header>
							<Content>
								<table>
									<tr>
										<td>
											GRID
										</td>
									</tr>
									<tr>
										<td>
											<asp:Button ID="butResetErrorLog" runat="server" Text="Reset" />
										</td>
									</tr>
								</table>
							</Content>
						</asp:AccordionPane>
						<asp:AccordionPane runat="server" ID="panePeriph">
							<Header>
								Peripherals</Header>
							<Content>
								<table class="DataTable">
									<tr>
										<td class="DataTableLabel">SMS Test Service:</td>
										<td class="DataTableValue"><asp:TextBox ID="txtSMSUrl" runat="server"></asp:TextBox></td>
									</tr>
									<tr>
										<td class="DataTableLabel">VOIP/Skype Account:</td>
										<td class="DataTableValue"><asp:TextBox ID="txtSkypeAccount" runat="server"></asp:TextBox></td>
									</tr>
								</table>
							</Content>
						</asp:AccordionPane>
						<asp:AccordionPane runat="server" ID="panePrinting">
							<Header>Printing</Header>
							<Content>EMPTY</Content>
						</asp:AccordionPane>
						<asp:AccordionPane runat="server" ID="paneSecurity">
							<Header>Security</Header>
							<Content>
								<table>
									<tr>
										<td>
											GRID
										</td>
									</tr>
									<tr>
										<td>
											<asp:Button ID="butResetSecLog" runat="server" Text="Reset" />
										</td>
										</td></tr>
								</table>
							</Content>
						</asp:AccordionPane>
						<asp:AccordionPane runat="server" ID="paneWebsite">
							<Header>Website</Header>
							<Content>
								<table class="DataTable">
									<tr>
										<td class="DataTableLabel">Session Timeout:</td>
										<td class="DataTableValue"><asp:TextBox ID="txtTimeoutMins" runat="server"></asp:TextBox>(mins)</td>
									</tr>
									<tr>
										<td class="DataTableLabel" colspan="2"><asp:CheckBox ID="chkEnableCreditCardPayment" runat="server" Text="Enable credit card payment" /></td>
									</tr>
									<tr>
										<td class="DataTableLabel" colspan="2"><asp:CheckBox ID="chkEnableXlsImport" runat="server" Text="Enable Import Wizard" /></td>
									</tr>
								</table>
							</Content>
						</asp:AccordionPane>
					</Panes>
				</asp:Accordion>
			</td>
		</tr>
		<tr><td><asp:Button ID="butSaveConfig" runat="server" Text="Save" OnClick="butSaveConfig_Click" /></td></tr>
	</table>

<!-- Links -->
<div style="margin:auto; margin-top:10px; width:600px; text-align:right;">
	<asp:HyperLink ID="HyperLink1" runat="server" CssClass="BaselineLinkStyle" NavigateUrl="~/Finance/Workflows.aspx" Text="Workflows" /><br />
	<asp:HyperLink ID="HyperLink6" runat="server" CssClass="BaselineLinkStyle" NavigateUrl="~/Finance/ClientAlertsDefault.aspx" Text="Default client alerts" /><br />
	<asp:HyperLink ID="HyperLink7" runat="server" CssClass="BaselineLinkStyle" NavigateUrl="~/Finance/ClientCollectorAssignmentDefault.aspx" Text="Default collector assignments" /><br />
	<asp:HyperLink ID="HyperLink3" runat="server" CssClass="BaselineLinkStyle" NavigateUrl="~/Finance/AccountInvoiceStatusList.aspx" Text="Account invoice status list" /><br />
	<asp:HyperLink ID="HyperLink4" runat="server" CssClass="BaselineLinkStyle" NavigateUrl="~/Finance/AccountTradingStyleList.aspx" Text="Account trading style" /><br />
	<asp:HyperLink ID="HyperLink5" runat="server" CssClass="BaselineLinkStyle" NavigateUrl="~/Finance/ClientAlertsDefault.aspx" Text="Default client alerts" /><br />
	<asp:HyperLink ID="HyperLink2" runat="server" CssClass="BaselineLinkStyle" NavigateUrl="~/Finance/LetterTypeList.aspx" Text="Letter types" /><br />
	<asp:HyperLink ID="HyperLink8" runat="server" CssClass="BaselineLinkStyle" NavigateUrl="~/Finance/ErrorLog.aspx" Text="Error Log" /><br />
</div>

</asp:Content>
